package com.study.blogsearchpojo.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Blog implements Serializable {
  private String keyword;
  private Long blogId;
  private String blogAuthor;
  private String blogTitle;
  private String blogContent;
  private LocalDateTime addTime;
  private LocalDateTime modTime;
  private String isDel;

    public Blog() {
    }

    @Override
    public String toString() {
        return "Blog{" +
                "blogId=" + blogId +
                ", blogAuthor='" + blogAuthor + '\'' +
                ", blogTitle='" + blogTitle + '\'' +
                ", blogContent='" + blogContent + '\'' +
                ", addTime=" + addTime +
                ", modTime=" + modTime +
                ", isDel='" + isDel + '\'' +
                '}';
    }

    public Blog(String blogAuthor, String blogTitle, String blogContent, LocalDateTime addTime, LocalDateTime modTime, String isDel) {
        this.blogAuthor = blogAuthor;
        this.blogTitle = blogTitle;
        this.blogContent = blogContent;
        this.addTime = addTime;
        this.modTime = modTime;
        this.isDel = isDel;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Long getBlogId() {
        return blogId;
    }

    public void setBlogId(Long blogId) {
        this.blogId = blogId;
    }

    public String getBlogAuthor() {
        return blogAuthor;
    }

    public void setBlogAuthor(String blogAuthor) {
        this.blogAuthor = blogAuthor;
    }

    public String getBlogTitle() {
        return blogTitle;
    }

    public void setBlogTitle(String blogTitle) {
        this.blogTitle = blogTitle;
    }

    public String getBlogContent() {
        return blogContent;
    }

    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public LocalDateTime getModTime() {
        return modTime;
    }

    public void setModTime(LocalDateTime modTime) {
        this.modTime = modTime;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }
}
